<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="generator" content="ApiGen 2.8.0" />

	<title>Class modele_region | pwe-project</title>

	<script type="text/javascript" src="resources/combined.js?682347548"></script>
	<script type="text/javascript" src="elementlist.js?1761807718"></script>
	<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />

</head>

<body>
<div id="left">
	<div id="menu">
		<a href="index.html" title="Overview"><span>Overview</span></a>


		<div id="groups">
			<h3>Packages</h3>
			<ul>
				<li><a href="package-API.html">API</a>
						</li>
				<li><a href="package-None.html">None</a>
						</li>
				<li><a href="package-PHP.html">PHP</a>
						</li>
				<li class="active"><a href="package-PWE.html">PWE<span></span></a>
						<ul>
				<li><a href="package-PWE.bdd.html">bdd</a>
						</li>
				<li><a href="package-PWE.controler.html">controler</a>
						</li>
				<li class="active"><a href="package-PWE.modele.html">modele<span></span></a>
						<ul>
				<li><a href="package-PWE.modele.menu.html">menu</a>
						</li>
							</ul></li>
				<li><a href="package-PWE.tools.html">tools</a>
						</li>
							</ul></li>
			</ul>
		</div>

		<hr />


		<div id="elements">
			<h3>Classes</h3>
			<ul>
				<li><a href="class-modele.html">modele</a></li>
				<li><a href="class-modele_adresse.html">modele_adresse</a></li>
				<li><a href="class-modele_category.html">modele_category</a></li>
				<li><a href="class-modele_galerie.html">modele_galerie</a></li>
				<li><a href="class-modele_media.html">modele_media</a></li>
				<li><a href="class-modele_page.html">modele_page</a></li>
				<li><a href="class-modele_permalien.html">modele_permalien</a></li>
				<li><a href="class-modele_post.html">modele_post</a></li>
				<li><a href="class-modele_publication.html">modele_publication</a></li>
				<li><a href="class-modele_redirection.html">modele_redirection</a></li>
				<li class="active"><a href="class-modele_region.html">modele_region</a></li>
				<li><a href="class-modele_translate.html">modele_translate</a></li>
				<li><a href="class-modele_user.html">modele_user</a></li>
			</ul>





		</div>
	</div>
</div>

<div id="splitter"></div>

<div id="right">
<div id="rightInner">
	<form id="search">
		<input type="hidden" name="cx" value="" />
		<input type="hidden" name="ie" value="UTF-8" />
		<input type="text" name="q" class="text" />
		<input type="submit" value="Search" />
	</form>

	<div id="navigation">
		<ul>
			<li>
				<a href="index.html" title="Overview"><span>Overview</span></a>
			</li>
			<li>
				<a href="package-PWE.modele.html" title="Summary of PWE\modele"><span>Package</span></a>
			</li>
			<li class="active">
<span>Class</span>			</li>
		</ul>
		<ul>
			<li>
				<a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
			</li>
			<li>
				<a href="deprecated.html" title="List of deprecated elements"><span>Deprecated</span></a>
			</li>
			<li>
				<a href="todo.html" title="Todo list"><span>Todo</span></a>
			</li>
		</ul>
		<ul>
			<li>
				<a href="pwe-project-api-documentation.zip" title="Download documentation as ZIP archive"><span>Download</span></a>
			</li>
		</ul>
	</div>

<div id="content" class="class">
	<h1>Class modele_region</h1>



	<dl class="tree">
		<dd style="padding-left:0px">
			<a href="class-modele.html"><span>modele</span></a>
			
			
			
		</dd>
		<dd style="padding-left:30px">
			<img src="resources/inherit.png" alt="Extended by" />
<b><span>modele_region</span></b>			
			
			
		</dd>
	</dl>








	<div class="info">
		
		
		
		<b>Package:</b> <a href="package-PWE.html">PWE</a>\<a href="package-PWE.modele.html">modele</a><br />

				<b>Author:</b>
				Gmax &lt;<a
href="mailto:gmaxfr78&#64;gmail.com">gmaxfr78&#64;<!---->gmail.com</a>&gt;<br />
		<b>Located at</b> <a href="source-class-modele_region.html#2-194" title="Go to source code">engine/class/modele/region.class.php</a><br />
	</div>



	<table class="summary" id="methods">
	<caption>Methods summary</caption>
	<tr data-order="__construct" id="___construct">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#___construct">#</a>
		<code><a href="source-class-modele_region.html#15-20" title="Go to source code">__construct</a>( <span>mixed <var>$id</var> = <span class="php-keyword1">null</span></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			







		</div>
		</div></td>
	</tr>
	<tr data-order="_constructObject" id="__constructObject">

		<td class="attributes"><code>
			 private 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#__constructObject">#</a>
		<code><a href="source-class-modele_region.html#21-36" title="Go to source code">_constructObject</a>( )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			







		</div>
		</div></td>
	</tr>
	<tr data-order="getId" id="_getId">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getId">#</a>
		<code><a href="source-class-modele_region.html#37-39" title="Go to source code">getId</a>( )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			







		</div>
		</div></td>
	</tr>
	<tr data-order="getCategoryId" id="_getCategoryId">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getCategoryId">#</a>
		<code><a href="source-class-modele_region.html#40-42" title="Go to source code">getCategoryId</a>( )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			







		</div>
		</div></td>
	</tr>
	<tr data-order="getCategory" id="_getCategory">

		<td class="attributes"><code>
			 public 
			/modele_category|null
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getCategory">#</a>
		<code><a href="source-class-modele_region.html#44-56" title="Go to source code">getCategory</a>( )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			



				<h4>Returns</h4>
				<div class="list">
					<code>/modele_category|null</code><br />
				</div>



				<h4>Overrides</h4>
				<div class="list"><code><a href="class-modele.html#_getCategory">modele::getCategory()</a></code></div>

		</div>
		</div></td>
	</tr>
	<tr data-order="getTitle" id="_getTitle">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getTitle">#</a>
		<code><a href="source-class-modele_region.html#58-64" title="Go to source code">getTitle</a>( <span>mixed <var>$input</var> = <span class="php-keyword1">false</span></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			







		</div>
		</div></td>
	</tr>
	<tr data-order="getDescriptionSEO" id="_getDescriptionSEO">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getDescriptionSEO">#</a>
		<code><a href="source-class-modele_region.html#65-67" title="Go to source code">getDescriptionSEO</a>( )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			






				<h4>Overrides</h4>
				<div class="list"><code><a href="class-modele.html#_getDescriptionSEO">modele::getDescriptionSEO()</a></code></div>

		</div>
		</div></td>
	</tr>
	<tr data-order="getTitreSEO" id="_getTitreSEO">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getTitreSEO">#</a>
		<code><a href="source-class-modele_region.html#68-70" title="Go to source code">getTitreSEO</a>( )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			






				<h4>Overrides</h4>
				<div class="list"><code><a href="class-modele.html#_getTitreSEO">modele::getTitreSEO()</a></code></div>

		</div>
		</div></td>
	</tr>
	<tr data-order="getNom" id="_getNom">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getNom">#</a>
		<code><a href="source-class-modele_region.html#72-75" title="Go to source code">getNom</a>( <span>mixed <var>$input</var> = <span class="php-keyword1">false</span></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			







		</div>
		</div></td>
	</tr>
	<tr data-order="getDepartements" id="_getDepartements">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getDepartements">#</a>
		<code><a href="source-class-modele_region.html#76-78" title="Go to source code">getDepartements</a>( )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			







		</div>
		</div></td>
	</tr>
	<tr data-order="getContent" id="_getContent">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getContent">#</a>
		<code><a href="source-class-modele_region.html#79-81" title="Go to source code">getContent</a>( <span>mixed <var>$input</var> = <span class="php-keyword1">false</span></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			







		</div>
		</div></td>
	</tr>
	<tr data-order="getDatas" id="_getDatas">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getDatas">#</a>
		<code><a href="source-class-modele_region.html#83-92" title="Go to source code">getDatas</a>( <span>mixed <var>$input</var> = <span class="php-keyword1">false</span></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			






				<h4>Overrides</h4>
				<div class="list"><code><a href="class-modele.html#_getDatas">modele::getDatas()</a></code></div>

		</div>
		</div></td>
	</tr>
	<tr data-order="setDatas" id="_setDatas">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_setDatas">#</a>
		<code><a href="source-class-modele_region.html#93-101" title="Go to source code">setDatas</a>( <span>mixed <var>$datas</var></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			






				<h4>Overrides</h4>
				<div class="list"><code><a href="class-modele.html#_setDatas">modele::setDatas()</a></code></div>

		</div>
		</div></td>
	</tr>
	<tr data-order="setCategoryId" id="_setCategoryId">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_setCategoryId">#</a>
		<code><a href="source-class-modele_region.html#102-113" title="Go to source code">setCategoryId</a>( <span>mixed <var>$categoryId</var></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			







		</div>
		</div></td>
	</tr>
	<tr data-order="update" id="_update">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_update">#</a>
		<code><a href="source-class-modele_region.html#114-122" title="Go to source code">update</a>( )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			






				<h4>Overrides</h4>
				<div class="list"><code><a href="class-modele.html#_update">modele::update()</a></code></div>

		</div>
		</div></td>
	</tr>
	<tr data-order="save" id="_save">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_save">#</a>
		<code><a href="source-class-modele_region.html#123-132" title="Go to source code">save</a>( )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			






				<h4>Overrides</h4>
				<div class="list"><code><a href="class-modele.html#_save">modele::save()</a></code></div>

		</div>
		</div></td>
	</tr>
	<tr data-order="delete" id="_delete">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_delete">#</a>
		<code><a href="source-class-modele_region.html#133-138" title="Go to source code">delete</a>( )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			






				<h4>Overrides</h4>
				<div class="list"><code><a href="class-modele.html#_delete">modele::delete()</a></code></div>

		</div>
		</div></td>
	</tr>
	<tr data-order="getTable" id="_getTable">

		<td class="attributes"><code>
			 public static
			string
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getTable">#</a>
		<code><a href="source-class-modele_region.html#141-147" title="Go to source code">getTable</a>( )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			



				<h4>Returns</h4>
				<div class="list">
					<code>string</code><br />
				</div>



				<h4>Overrides</h4>
				<div class="list"><code><a href="class-modele.html#_getTable">modele::getTable()</a></code></div>

		</div>
		</div></td>
	</tr>
	<tr data-order="getListeRegion" id="_getListeRegion">

		<td class="attributes"><code>
			 public static
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getListeRegion">#</a>
		<code><a href="source-class-modele_region.html#149-159" title="Go to source code">getListeRegion</a>( )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			







		</div>
		</div></td>
	</tr>
	<tr data-order="getRegionByDept" id="_getRegionByDept">

		<td class="attributes"><code>
			 public static
			<code><a href="class-modele_region.html">modele_region</a></code>
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getRegionByDept">#</a>
		<code><a href="source-class-modele_region.html#161-179" title="Go to source code">getRegionByDept</a>( <span>string <var>$dept</var> = <span class="php-quote">'00'</span></span> )</code>

		<div class="description short">
			
<p>retourne la region selon un code postal ou un num de departement</p>

		</div>

		<div class="description detailed hidden">
			
<p>retourne la region selon un code postal ou un num de departement</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$dept</var></dt>
					<dd><code>string</code><br>$dept</dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					<code><code><a href="class-modele_region.html">modele_region</a></code></code><br />
				</div>




		</div>
		</div></td>
	</tr>
	<tr data-order="getRegionByCategory" id="_getRegionByCategory">

		<td class="attributes"><code>
			 public static
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getRegionByCategory">#</a>
		<code><a href="source-class-modele_region.html#181-193" title="Go to source code">getRegionByCategory</a>( <span>mixed <var>$category_id</var></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			







		</div>
		</div></td>
	</tr>
	</table>

	<table class="summary inherited">
	<caption>Methods inherited from <a href="class-modele.html#methods">modele</a></caption>
	<tr>
		<td><code>
			<a href="class-modele.html#__getOneResult">_getOneResult()</a>, 
			<a href="class-modele.html#__getResults">_getResults()</a>, 
			<a href="class-modele.html#_debug">debug()</a>, 
			<a href="class-modele.html#_findByPermalien">findByPermalien()</a>, 
			<a href="class-modele.html#_formatLink">formatLink()</a>, 
			<a href="class-modele.html#_getTemplate">getTemplate()</a>, 
			<a href="class-modele.html#_getType">getType()</a>, 
			<a href="class-modele.html#_inputFormat">inputFormat()</a>, 
			<a href="class-modele.html#_outputFormat">outputFormat()</a>, 
			<a href="class-modele.html#_urlize">urlize()</a>
		</code></td>
	</tr>
	</table>











	<table class="summary" id="properties">
	<caption>Properties summary</caption>
	<tr data-order="_table" id="$_table">
		<td class="attributes"><code>
			protected static 
			string
		</code></td>

		<td class="name">
				<a href="source-class-modele_region.html#7" title="Go to source code"><var>$_table</var></a>
		</td>
		<td class="value"><code><span class="php-quote">'region'</span></code></td>
		<td class="description"><div>
			<a href="#$_table" class="anchor">#</a>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				

			</div>
		</div></td>
	</tr>
	<tr data-order="type" id="$type">
		<td class="attributes"><code>
			public  
			string
		</code></td>

		<td class="name">
				<a href="source-class-modele_region.html#8" title="Go to source code"><var>$type</var></a>
		</td>
		<td class="value"><code><span class="php-quote">'region'</span></code></td>
		<td class="description"><div>
			<a href="#$type" class="anchor">#</a>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				

			</div>
		</div></td>
	</tr>
	<tr data-order="_id" id="$_id">
		<td class="attributes"><code>
			private  
			integer
		</code></td>

		<td class="name">
				<a href="source-class-modele_region.html#9" title="Go to source code"><var>$_id</var></a>
		</td>
		<td class="value"><code><span class="php-num">0</span></code></td>
		<td class="description"><div>
			<a href="#$_id" class="anchor">#</a>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				

			</div>
		</div></td>
	</tr>
	<tr data-order="_nom" id="$_nom">
		<td class="attributes"><code>
			private  
			string
		</code></td>

		<td class="name">
				<a href="source-class-modele_region.html#10" title="Go to source code"><var>$_nom</var></a>
		</td>
		<td class="value"><code><span class="php-quote">''</span></code></td>
		<td class="description"><div>
			<a href="#$_nom" class="anchor">#</a>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				

			</div>
		</div></td>
	</tr>
	<tr data-order="_departements" id="$_departements">
		<td class="attributes"><code>
			private  
			string
		</code></td>

		<td class="name">
				<a href="source-class-modele_region.html#11" title="Go to source code"><var>$_departements</var></a>
		</td>
		<td class="value"><code><span class="php-quote">''</span></code></td>
		<td class="description"><div>
			<a href="#$_departements" class="anchor">#</a>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				

			</div>
		</div></td>
	</tr>
	<tr data-order="_category_id" id="$_category_id">
		<td class="attributes"><code>
			private  
			integer
		</code></td>

		<td class="name">
				<a href="source-class-modele_region.html#12" title="Go to source code"><var>$_category_id</var></a>
		</td>
		<td class="value"><code><span class="php-num">0</span></code></td>
		<td class="description"><div>
			<a href="#$_category_id" class="anchor">#</a>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				

			</div>
		</div></td>
	</tr>
	<tr data-order="_category" id="$_category">
		<td class="attributes"><code>
			private  
			mixed
		</code></td>

		<td class="name">
				<a href="source-class-modele_region.html#13" title="Go to source code"><var>$_category</var></a>
		</td>
		<td class="value"><code><span class="php-keyword1">null</span></code></td>
		<td class="description"><div>
			<a href="#$_category" class="anchor">#</a>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				

			</div>
		</div></td>
	</tr>
	</table>






</div>

	<div id="footer">
		pwe-project API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
	</div>
</div>
</div>
</body>
</html>
